<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ include file="../general/header.jsp" %>
<c:if test="${result.flagged}">
	<c:set var="isFlagged" value="true"/>
</c:if>
<h3>Perfil de <c:out value="${userProfile.name}"/> <c:out value="${userProfile.lastName}"/></h3>
<div class="menuacciones">
	<a class="boton volver color" href="../data/ViewSavedResult?result_id=${searchResultId}">Volver al perfil de b&uacute;squeda</a>
</div>
<%@ include file="../user/profile.jsp" %>
<div class="menuacciones-center" id="comentarios">
	<input type="hidden" name="resultId" value="${result.id}" />
	<h2>Comentarios:</h2>
	<form:form method="POST" action="../data/editResult?resultId=${result.id}&results_id=${searchResultId}" commandName="editResultForm" >
		<form:textarea path="comment" rows="5" cols="100" />
		<input class="boton color" type="submit" value="Guardar Comentario" />
	</form:form>
</div>
<%@ include file="../general/footer.jsp" %>
